]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDaemon: Do not send activation event multiple times
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 7 Oct 2025 18:08:39 +0000 (20:08 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 14 Oct 2025 11:59:16 +0000 (11:59 +0000)
commit1a7802cf0b6380aea188ce24c0624abe3ad3405e
tree6b724fce2fd652ba921dbb16de77812260daa030
parent0289dafd39d66ce510964b6a2c2b0178f61a5391
notificationDaemon: Do not send activation event multiple times

When a FDO notification is updated we reuse the previous instance,
however we do not care about disconnecting the default activation signal
and thus we may end up emitting the same multiple times, even in the
case the updated notification has no action at all.

So track the signal connections.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3904>
js/ui/notificationDaemon.js